package com.magicsoft.share.adapter.my;

import android.support.annotation.LayoutRes;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.magicsoft.share.R;
import com.magicsoft.share.bean.my.MessageList;

/**
 * Created by lyf on 2017/11/8/008.
 */

public class InteractionAdapter extends BaseQuickAdapter<MessageList.ListBean,BaseViewHolder> {

    public InteractionAdapter(@LayoutRes int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, MessageList.ListBean item) {
        helper.setText(R.id.tv_content, item.getContent()).setText(R.id.tv_date, item.getCreateTime());

    }
}
